.code_view {
  position: relative;
  background-color: #00000005;
  border: 1px solid #00000030;
  border-radius: 3px;
  line-height: 20px;
  font-size: 14px;
  overflow: hidden;

  .header {
    height: 25px;
    line-height: 25px;
    padding: 0px 10px;
    display: flex;
    flex-direction: row;
    box-sizing: border-box;
    border-bottom: 1px solid #00000030;
    color: #00000080;
    background-color: #00000010;
    user-select: none;
    font-size: 12px;
  }

  .main {
    display: flex;

    .lines {
      padding: 5px 2px;
      border-right: 1px solid #00000030;
      text-align: right;
      user-select: none;

      .line {
        padding: 0px 5px;
        opacity: 0.3;
        transition: all 0.3s;
      }

      .line:hover {
        opacity: 1;
      }
    }

    .pre {
      margin: 0px;
      padding: 5px 5px;
      overflow-x: auto;
      overflow-y: hidden;

      &::-webkit-scrollbar {
        display: none;
      }

      code {
        overflow: auto;
      }

      code::-webkit-scrollbar {
        display: none;
      }
    }
  }
}